<!DOCTYPE html>
<html lang="en">
    <head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
	<title>{block #title}Motol{/block}</title>
	<link rel="stylesheet" href="{$basePath}/css/admin.css" type="text/css" />
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
	<script type="text/javascript" src="{$basePath}/js/jquery.nette.js"></script>
    </head>

    <body>
	{if $user->isLoggedIn()}

	<div id="leftSide">
	    <img id="logo" src="{$basePath}/css/images/fn_motol_logo.jpg"></img>
	    <div id="menuLeft" >
		<ul n:foreach="$menuLeftside as $menu">
		    <li  n:foreach="$menu as $item => $link" {ifCurrent $link} class="current"{/ifCurrent}>
			<a {first} class="first"{/first} n:href="$link">{$item}</a>
		    </li>
		{sep}--------------------------{/sep}
		</ul>
	    </div>
	</div>
	<div id="wrapper">
	    <div id="content">
		{include #content}
	    </div>
	</div>
	{/if}

	{if !$user->isLoggedIn()}
	<div n:foreach="$flashes as $flash" class="flash {$flash->type}">{$flash->message}</div>
		{include #content}
	{/if}

    </body>
</html>
